package mapper;

import java.util.HashMap;
import java.util.Map;

/**
 * Container组件中的Host组件
 *
 * @Author: zhangzhiwei
 * @Date: 2022/1/10 22:49
 */
public class Host {

    private String name; // localhost

    private String appBase;

    private Map<String, Context> contextMap;

    public Host() {
        this.contextMap = new HashMap<>();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getAppBase() {
        return appBase;
    }

    public void setAppBase(String appBase) {
        this.appBase = appBase;
    }

    public Map<String, Context> getContextMap() {
        return contextMap;
    }

    public void setContextMap(Map<String, Context> contextMap) {
        this.contextMap = contextMap;
    }
}
